#!/usr/bin/env python
# -*- coding:UTF-8 -*-
# Project: devops
#  Author: an00
#  Create: 2018/8/4 21:53


import django_filters
from business.models import Business


class BusinessFilter(django_filters.rest_framework.FilterSet):
    """
    业务线过滤类
    """
    pid = django_filters.NumberFilter(name="pid")

    class Meta:
        model = Business
        fields = ['pid']